package cn.easybuy.pojo;

import java.util.ArrayList;
import java.util.List;

/**
 * 订单表
 *
 * @author 江司令
 *
 */
public class Order {

    private int id; // 序号
    private String userId; // 用户id
    private String loginName;// 登录用户名
    private String userAddress;// 用户地址
    private String createTime;// 创建时间
    private float cost; // 金额
    private int status;// 状态 1待审核 2审核通过 3配货 4卖家已发货 5已收货
    private int type;// 类型
    private String serialNumber;// 订单号
    private List<Detail> details = new ArrayList<Detail>(); // 订单详情集合

    public List<Detail> getDetails() {
        return details;
    }

    public void setDetails(List<Detail> details) {
        this.details = details;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getUserAddress() {
        return userAddress;
    }

    public void setUserAddress(String userAddress) {
        this.userAddress = userAddress;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public float getCost() {
        return cost;
    }

    public void setCost(float cost) {
        this.cost = cost;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }

}

